<?php
/**
 * Created by IDEA.
 * User: dinesh
 * Date: Jun 25, 2013
 * Time: 3:32:45 PM
 * To change this template use File | Settings | File Templates.
 */



?>
<link rel="stylesheet" type="text/css" href="css/dhtmlx/grid/skins/dhtmlxgrid_dhx_skyblue.css">
<link rel="STYLESHEET" type="text/css" href="css/dhtmlx/grid/dhtmlxgrid_pgn_bricks.css">
<link rel="STYLESHEET" type="text/css" href="css/dhtmlx/grid/dhtmlxgrid.css">
<link rel="STYLESHEET" type="text/css" href="css/dhtmlx/toolbar/skins/dhtmlxtoolbar_dhx_skyblue.css">

<script src="js/dhtmlx/grid/dhtmlxgrid.js"></script>
<script src="js/dhtmlx/grid/dhtmlxgridcell.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_filter.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_srnd.js"></script>
<script src="js/dhtmlx/grid/dhtmlxgrid_pgn.js"></script>
<script src="js/dhtmlx/toolbar/dhtmlxtoolbar.js"></script>
<link rel="stylesheet" type="text/css" href="css/table.css">

<table width='100%' border='0' cellpadding='0' cellspacing='0'>
		
		<tr>
			<td>
				<div style="margin-top:10px">
                <fieldset>
                <legend>Search TLD Card</legend>
                <!-- Search Div -->
                <form id="frmSearch" action="#" onsubmit="return false;">

                    <table border="0" cellspacing="5px" cellpadding="0px" width="100%">
                        <tr>
                            <td width="60px" align="right">Lot Name :</td>
                            <td width="80px"><?php echo $this->lotList ?> </td>
                            <td width="80px">Code:</td>
                            <td width="80px"><input type="text" style="width:150px" id="searchCriteria.code"
                                                    name="searchCriteria.code"
                                                    keyfilter="alphanumeric" onKeyDown="doSearch(event)"/></td>


                            <td width="200px" align="left">
                                <button onClick="reloadGrid()" class="clsButtonSmall" id="submitButton">Search</button>
                                <input type="checkbox" id="autosearch" onClick="enableAutosubmit(this.checked)"> Enable
                                Autosearch
                            </td>
                        </tr>
                    </table>

                    <input type="hidden" id="totalRecords" name="page.totalRecords"/>
                    <input type="hidden" id="startPosition" name="page.startPosition"/>
                    <input type="hidden" id="pageSize" name="page.pageSize"/>

                </form>
                </fieldset>
                </div>

			</td>
		</tr>
        <tr>
            <td>
                <fieldset>
                <legend>TLD Card Information</legend>
                     <div style=" float:right;width:200px;padding-top:2px;padding-left:5px;margin-bottom:0px;margin-left:10px;">Legend

                    <div  style="float: none; height: 18px; width: 80px; border-width: 1px 1px 1px; border-style: solid solid solid;  background-color: #7cfc00;font-weight:bold;color:black;" > Valid Card</div>
                    <div  style="float: none; height: 18px; width: 80px; border-width: 1px 1px 1px; border-style: solid solid solid;  background-color: #ff00ff;font-weight:bold; color:black;"> Not Return</div>
                    <div  style="float: none; height: 18px; width: 80px; border-width: 1px 1px 1px; border-style: solid solid solid;  background-color:#FFFF00;font-weight:bold; color:black;"> Issued</div>
                     <div  style="float: none; height: 18px; width: 80px; border-width: 1px 1px 1px; border-style: solid solid solid;  background-color:#7878E6;font-weight:bold; color:black;"> Processing</div>
                     <div  style="float: none; height: 18px; width: 80px; border-width: 1px 1px 1px; border-style: solid solid solid;  background-color:#FF0000;font-weight:bold; color:black;"> Invalid Card</div>
                    </div>
                <form method="post" id="frmData" action="">
                    <div id="formBody">      </div> 
                 </form>
                </fieldset>
            </td>
        </tr>
        <tr>
            <td>

					<table border="0" cellspacing="5px" cellpadding="0px" width="100%" style="margin-top:0px;">
						<tr>
							<td>
								<button id="btnClose" onclick="closePage();" privilege="" class="clsButtonSmall">Close</button>
                                <button id="btnEdit" onclick="edit();" privilege="INST.EDIT" class="clsButtonSmall">Edit</button>

                               
								<button id="btnClear" onclick="clearBt();" privilege="" class="clsButtonSmall">Clear</button>
							</td>
							<td width="*" align="right">
                                <button id="btnCancel" onclick="closePage();" privilege="" class="clsButtonSmall">Cancel</button>
								<button id="btnSave" onclick="save();" class="clsButtonSmall">Save</button>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>


<script src="js/tld/pass.js"></script>
<div id='messagePanel'> </div>
